<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a="http://richfaces.org/a4j" template="/layout/template.xhtml">



	<ui:define name="center">
		<h:form id="Role">

			<rich:panel>
				<f:facet name="header">#{messages['role']}</f:facet>
				<h:panelGrid columns="3" rowClasses="prop"
					columnClasses="name,value,validatormsg">
					<h:outputLabel for="role_rolename">#{messages['role.rolename']}:</h:outputLabel>
					<h:inputText id="role_rolename"
						value="#{userController.selectedRole.rolename}">
					</h:inputText>
					<rich:message for="role_rolename" styleClass="messagesingle"
						errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"></rich:message>
				</h:panelGrid>
			</rich:panel>
			<div class="actionButtons"><h:commandButton id="registerBtn"
				value="#{messages['general.save']}"
				action="#{userController.createRole}">
				<s:defaultAction />
			</h:commandButton></div>
		</h:form>
	</ui:define>
</ui:composition>